int method(String arg) {
    return 1;
}
int method(Object arg) {
    return 2;
}

Object o = "Object"
int result = method(o)
println(result)
